<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------



use think\Route;


Route::resource('admin','admin/user',['except'=>['index']]);
// Route::get('page','/admin/user/index');
// Route::resource('admin', 'admin/user'); // 用户增删改
// Route::resource('admin', 'admin/user'); // 用户增删改
Route::resource('adfilm', 'admin/film'); // 电影增删改
Route::resource('schedule', 'admin/filmschedule'); // 排片表增删改
Route::get('adlog', 'admin/adminlogin/index'); // 后台登录



Route::get('index', 'index/homeindex/index');//首页
Route::get('cinema', 'index/Cinema/index');//影片
Route::get('film', 'index/Film/index');//影院
Route::get('movie', 'index/Movie/index');//影院影片
Route::get('select', 'index/Movie/select');




Route::get('/login', 'index/index/login');
Route::get('PersonalCenter', 'index/index/PersonalCenter');
Route::get('faq', 'index/index/faq');
Route::get('/grid', 'index/index/grid');

//轮播图管理
Route::get('add', 'admin/banner/add');



//退出
Route::get('loginout', 'index/user/loginout');
Route::get('plans', 'index/index/plans');
Route::get('charts', 'index/index/charts');
Route::get('register', 'index/index/register');


